package cn.tedu.springDI;

import org.springframework.stereotype.Component;

@Component
public class MusicPhone implements Phone{
    public MusicPhone() {
        System.out.println("MusicPhone的构造方法被调用了！");
    }

    @Override
    public String toString() {
        return "【音乐手机】";
    }
}
